﻿//string ：100000   1m   100m
//stringbuilder:  100000   100ms   23m
//https://cloud.tencent.com/developer/article/1861078
using System.Text;
string str = "";
string temp = "abcdefghijklmnopqrstuvwxyz";
StringBuilder stringBuilder = new StringBuilder();
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff"));
for(int i=0;i<100000;i++)
{
    stringBuilder.Append(temp);
    //str += temp;
}
str = stringBuilder.ToString();
Console.WriteLine(str.Length);
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff"));
Console.ReadLine();